@import "../variables";
.content-panel {
    border: none;
    .content-panel-header {
        padding: 0;
    }
    .content-panel-body {
        min-height: 0;
    }
}

#doc-form {
    margin-top: 0;
    .content-panel-header {
        border: 0;
    }
    label {
        text-align: left;
    }
}

.picture-container {
    width: 256px;
    height: 144px;
    float: left;
    padding: 10px;
    margin: 0 20px 20px 0;
    border: 1px solid $color-border;
    position: relative;
    .picuture-upload {
        text-align: center;
        line-height: 144px;
        background: #f7f7f7;
        color: $material-grey;
        &:hover {
            background: #ededed;
            color: $color-primary;
            cursor: pointer;
        }
    }
    .picture-re-upload {
        background: rgba(0, 153, 51, .7);
        visibility: hidden;
        line-height: 144px;
        cursor: pointer;
        .picture-remove {
            position: absolute;
            font-size: 24px;
            top: -20px;
            left: -20px;
            border-radius: 12px;
            background: #fff;
            color: $color-accent;
        }
    }
    &:hover {
        .picture-re-upload {
            visibility: visible;
        }
    }
    .picture {
        margin: 10px;
        background-size: contain;
    }
}

#picturePreview {
    width: 100%;
    min-width: 100%;
    height: auto;
}

#character-form .form-group div {
    padding-left: 0px;
}

#requestCharacterDesc {
    height: 100px;
    width: 310px;
}

.character-tag {
    float: left;
    width: 150px;
    height: 36px;
    line-height: 36px;
    margin-left: 4px;
    margin-bottom: 4px;
    position: relative;
    border: 1px solid #D8D8D8;
    background: #eeeeee;
    &.character-tag-system {
        cursor: pointer;
    }
    .character-tag-info {
        padding: 0px 8px;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 12px;
    }
    .character-tag-remove {
        display: none;
        position: absolute;
        font-size: 24px;
        top: -12px;
        left: -12px;
        border-radius: 12px;
        background: #fff;
        cursor: pointer;
        color: $color-accent;
    }
    .character-tag-selected-sign {
        display: none;
        position: absolute;
        top: auto;
        bottom: 0px;
        right: 0px;
        color: $color-primary;
    }
    &.character-tag-selected {
        border-color: $color-primary;
        .character-tag-selected-sign {
            display: block;
        }
        &:hover .character-tag-remove {
            display: block;
        }
    }
}

#character-tag-form {
    width: 200px;
    border: none;
    padding: 0px;
    .input-btn-group {
        padding-left: 0px;
    }
}

.picture-container-align-margin {
    margin-top: 134px;
}

.picture-example-trigger {
    position: relative;
    overflow: visible;
    .picture-example {
        display: none;
        position: absolute;
        z-index: 999;
        padding: 8px;
        left: 32px;
        top:-100px;
        background: rgba(0,0,0,.7);
        img {
            width: 256px;
            height: auto;
        }
    }

    &:hover .picture-example {
        display: block;
    }
}
        
.picture-container{
    height: auto;
    background: #fff;
}
.absolute-shade{
    height: 144px;
}
.personality-description{
    position: relative;
    width: 245px;
    padding: 5px 5px 0 5px;
}
.personality-description p{
    width: 245px;
    font-size: 12px;
    line-height: 24px;
    height: 50px;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.tiplog{
    background: url('image/tiplog.png') -2px 1px no-repeat;    
}
.tiplog01{
    background: url('image/tiplog01.png') -2px 1px no-repeat;    
}
.set-container{
    width: 255px;
    height: 20px;
}
.shopkeeper-Introduction a{
    background: url('image/edit.png') 10px center no-repeat;
}
.shopkeeper-cover a{
    background: url('image/first_picture.png') 10px center no-repeat; 
}
.picture-re-shopkeeper-upload a{
    background: url('image/change_picture.png') 10px center no-repeat; 
}
.shopkeeper-push a{
    background: url('image/send_message.png') 10px center no-repeat; 
}
#character-panel .clear a{
    background: url('image/delete.png') 10px center no-repeat; 
}
#character-panel .shopkeeper_menu li a{
    background-size:15px 15px ;
    padding-left: 34px;
}
#character-panel .shili{
    margin-top: 75px;
}
#shopkeeperChangeDescModal .modal-content{
    margin-top:150px ;
}
#shopkeeperChangeDescModal #requestCharacterDesc{
    width: 380px;
    height: 150px;
}
.down_sign_container{
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    display: none;
}
    
.down_sign{
    width: 20px;
    height: 20px;
    background: #fff;
    cursor: pointer;
    background: url('image/menu_u10.png') no-repeat;
    background-size: contain;
    border-radius: 4px;
}
#character-panel .picture-container:hover .down_sign_container{
    display: block;
}
.picture-container .hideWord{
    display:none;
    float: right;
    position: absolute;
    bottom: 4px;
    right: 9px;
    z-index: 100;
    background: #FFFFFF;
}

#doc-center .absolute-shade{
    background-repeat: no-repeat;
}
.cover-image{
    position: absolute;
    left: 10px;
    top:10px;
    height: 40px;
    width: 40px;
    z-index: 10;
    background: url('image/cover-image.png') no-repeat;
    background-size: 100%;
}
.cover-image-en{
    background: url('image/cover-image.png') no-repeat;
    background-size: 100%;
}
.cover-image-us{
    background: url('image/cover-us.png') no-repeat;
    background-size: 100%;
}
#treasurerContainer{
    position: relative;
    overflow: hidden;
}
#characterTabs .tabs-panel{
    margin-top: 16px;
}
.createShopkeeper{
    background: #8bc34a;
    color: #fff;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 8px;
    font-size: 14px;
}
.right-float{
    float: right;
    .createShopkeeper{
        padding: 8px 30px;
    }
    .cancelShopkeeper{
        border: 1px solid #8bc34a;
        background: #fff;
        color: #8bc34a;
        margin-left: 16px;
        margin-right: 100px;
    }
}
.left-float{
    float: left;
    .long-press{
        font-size: 14px;
    }
    .long-press+div{
        font-size: 14px;
        color: #ccc;
    }
}
.shopkeeper_menu{
    position: absolute;
    top:18px;
    right: -1px;
    min-width: 100px;
}